package com.t235.gc.order.service;

import com.t235.gc.entity.GarbageRecyclingDetailOrder;
import com.t235.gc.mapper.GarbageRecyclingDetailOrderMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class RecyclingDetailOrderService {
    @Resource
    private GarbageRecyclingDetailOrderMapper garbageRecyclingDetailOrderMapper;
    public List<GarbageRecyclingDetailOrder> getList(String orderId){
        return garbageRecyclingDetailOrderMapper.getList(orderId);
    }

    public int getCount(String orderId) {
        return garbageRecyclingDetailOrderMapper.getCount(orderId);
    }
}
